home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / misc / pchglib12.lha / include / clib / pchglib_protos.h
C/C++ Source or Header  |  1993-03-13  |  993b  |  30 lines

  1. #ifndef  CLIB_PCHGLIB_PROTOS_H
  2. #define  CLIB_PCHGLIB_PROTOS_H
  3. /*
  4. **    $Filename: clib/pchglib_protos.h $
  5. **    $Release: 0.6 $
  6. **
  7. */
  8. #ifndef  EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11.  
  12. #ifndef  PCHG_H
  13. #include <iff/pchg.h>
  14. #endif
  15.  
  16. /* If you're using SAS/C 5.0, you can directly access PCHG_FastDecomp. Otherwise,
  17. you have to use PCHG_CFastDecomp. */
  18.  
  19. #ifdef LATTICE_50
  20. VOID __asm PCHG_FastDecomp(register __a0 APTR Source, register __a1 APTR Dest, register __a2 WORD *TreeCode, register __d0 ULONG OriginalSize);
  21. #endif
  22.  
  23. VOID PCHG_CFastDecomp(APTR Source, APTR Dest, WORD *TreeCode, ULONG OriginalSize);
  24. UBYTE *PCHG_CompHuffmann(APTR Source, ULONG SourceSize, ULONG *DataSize, ULONG *TreeSize);
  25. VOID PCHG_SetUserCopList(WORD Offset, UWORD Length, struct ViewPort *ViewPort, struct PCHGHeader *PCHG, APTR LineMask, APTR LineData);
  26. LONG PCHG_ParsePCHG(struct PCHGHeader *PCHG, struct ViewPort *ViewPort);
  27. struct PCHGHeader *PCHG_SHAM2PCHG(UWORD *SHAMChunk, ULONG SHAMSize, WORD Increment);
  28.  
  29. #endif
  30.